<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<title>角色列表</title>
		<script src="js/public.js"></script>
		<!--<link rel="stylesheet" href="css/index.css" type="text/css">-->
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
		<link rel="stylesheet" href="css/currency.css" />
		<link rel="stylesheet" href="Font-Awesome-3.2.1/css/font-awesome.css" />
		<link rel="stylesheet" href="Font-Awesome-3.2.1/css/font-awesome.min.css" />
		<link rel="stylesheet" href="css/roleList.css" type="text/css">

		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Access-Control-Allow-Origin" content="application/json; charset=utf-8" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<!-- 启用 WebApp 全屏模式 -->
		<meta http-equiv="Cache-Control" content="no-transform " />
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta name="format-detection" content="telphone=no, email=no" />
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
		<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
		<script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
		<!--<script type="text/javascript" src="js/checkbox.js"></script>-->
        <!--<script type="text/javascript">
        window.onload=function(){

               var fontsize = window.innerWidth/7.5>100?100:window.innerWidth/7.5>100;
               alert(fontsize)
            var winwidth = window.innerWidth
            document.documentElement.style.fontSize = winwidth/7.5 + 'px';
            window.onresize = function () {
                var winwidth = window.innerWidth;
                document.documentElement.style.fontSize = winwidth/7.5 + 'px';
            }
        }
    </script>-->
		<link rel="stylesheet" href="css/roleList.css" type="text/css">
		<script src="http://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
		<script src="js/md5.js" type="text/javascript"></script>
		<script type="text/javascript" src="js/roleList.js"></script>
	</head>

	<body>
		<div class="container-fluid">
			<h1>角色列表</h1>
			<div class="form-inline" style="margin-top: 5px;margin-bottom: 5px;">
				<div class="btn-group">
					<button type="button" class="btn btn-primary" id="addPerson"><span class="icon-plus">&nbsp;</span>新增</button>
					<!--<button type="button" class="btn btn-primary"><span class="icon-save">&nbsp;</span>保存</button>
					<button type="button" class="btn btn-primary"><span class="icon-trash">&nbsp;</span>删除</button>-->
				</div>
				<!--<div class="pull-right input-group">-->
					<!--<input type="text" class="form-control" placeholder="请输入角色id" aria-label="请输入角色id">-->
					<!--<div class="input-group-append">-->
						<!--<span class="input-group-text"><i class="icon-search"></i>查询</span>-->
					<!--</div>-->
				<!--</div>-->
			</div>

			<div class="table-responsive">
				<table class="table table-striped table-hover" id="roleTable">
					<thead>
						<tr>
							<th>角色ID</th>
							<th>唯一标识</th>
							<th>时间</th>
							<th>角色名称</th>
							<th>更新时间</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<!--<tr>-->
							<!--<td>123</td>-->
							<!--<td>role</td>-->
							<!--<td>测试1这一行只是样板</td>-->
							<!--<td>2018-11-05 10:24:00</td>-->
							<!--<td>2018-11-05 10:24:00</td>-->
							<!--<td>-->
								<!--<button class="roleTable_updata">-->
									<!--<i class="icon-edit">&nbsp;</i>编辑-->
								<!--</button><button class="roleTable_delect" id="delbtn">-->
									<!--<i class="icon-trash">&nbsp;</i>删除-->
								<!--</button>-->
							<!--</td>-->
						<!--</tr>-->
					</tbody>
				</table>
			</div>
			<!--新增-->
			<div class="add_div" style="width:550px;height: 320px;display: none">
				<div style="width: 100%;height: 55px; background-color: #d2e9e6;">
					<h5 class="h5_title" >添加角色</h5>
				</div>
				<div style="margin-left:12% ;margin-top: 5%">
					<label style="margin: auto; padding: auto; font-size: 1.2rem;">唯一标识：</label>
					<input id="role" type="text" class="input-size" placeholder="请输入唯一标识" /><br /><br />
					<label style="margin: auto; padding: auto;font-size: 1.2rem;">角色名称：</label>
					<input id="description" type="text" class="input-size" placeholder="请输入角色名称" /><br /><br />
					<label style="margin: auto; padding: auto;font-size: 1.2rem;">角色权限：</label>
					<input id="roleToPermission" type="text" class="input-size" placeholder="请输入角色权限" />
					
				</div>

					<div style="margin-left: 25%;margin-top: 20px">
						<button class="btn" id="btnYesAd" style="color: blue;"><i class="icon-ok"></i>确认</button>
						<button class="btn"  id="btnNoAd" style="margin-left: 10%;color: red;"><i class="icon-remove"></i>取消</button>
					</div>
				<!--<button id="btnNoAd">111</button>-->
			</div>
			<!--删除-->
			<div class="modal" id="mymodal">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<!--<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>-->
							<h4 class="modal-title">删除</h4>
						</div>
						<div class="modal-body">
							<p>你真的要删除我吗？</p>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
							<button type="button" class="btn btn-danger">删除</button>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script>
  			$(function(){
  			    $("#delbtn").click(function(){
      				$("#mymodal").modal("toggle");
    			});
  			});
		</script>
	</body>

</html>